<template>
  <div class="app">
    <img src="@/assets/img/bg.png" class="app-bg" />
    <img src="@/assets/img/tit.png" class="app-tit pointer" @click="toReload" />
    <!-- <div class="app-tit pointer">青云谱镇大数据平台</div> -->
    <router-view />
  </div>
</template>
<script>
export default {
  data() {
    return {};
  },
  mounted() {},
  computed: {},
  methods: {
    // 刷新
    toReload() {
      location.reload();
    },
  },
};
</script>

<style lang="less">
* {
  margin: 0;
  padding: 0;
}

.el-progress__text {
  color: white;
}
.el-progress path:first-child {
  stroke: #340087;
}
.app-tit {
  // color: white;
  // font-size: 2vw;
  // text-align: center;
  // line-height: 8vh;
  // letter-spacing: 4px;
  width: 100%;
}
.pointer {
  cursor: pointer;
}
body,
html,
.app,
#app {
  width: 100%;
  height: 100%;
  // overflow: hidden;
}
.app-bg {
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: -1;
  top: 0;
  left: 0;
  background: #010a34;
}
ul,
li {
  margin: 0;
  padding: 0;
}
.titFont {
  font-family: "Hei";
}
.flex {
  display: flex;
}
.center {
  align-items: center;
}
.between {
  justify-content: space-between;
}
.absolute {
  position: absolute;
}
.centerJ {
  justify-content: center;
}
.wrap {
  flex-wrap: wrap;
}
img {
  image-rendering: -moz-crisp-edges;
  image-rendering: -o-crisp-edges;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  -ms-interpolation-mode: nearest-neighbor;
  max-width: 100%;
}
input:focus {
  outline: none;
}
// 背景
.bgColor {
  background: linear-gradient(
    to right,
    rgba(91, 128, 168, 0.04),
    rgba(35, 123, 222, 0.27),
    rgba(64, 133, 210, 0.11),
    rgba(82, 139, 203, 0.08)
  );
}
// 标题
.index-tit {
  position: relative;
  color: #91d7ff;
  font-size: 20px;
  padding: 25px 20px 10px;
  letter-spacing: 5px;
  img {
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    z-index: -1;
    height: 100%;
  }
  .tit2 {
    color: #33bfd5;
    font-size: 10px;
    letter-spacing: 0;
  }
}

// 日期选择
.el-date-editor {
  background: #04072a;
  input {
    background: none;
    color: white !important;
  }
}
.el-input__inner {
  border: solid 1px #44eeff;
}
.el-date-editor .el-range__icon,
.el-range-separator {
  color: #44eeff !important;
}

::-webkit-scrollbar {
  /*滚动条整体样式*/
  width: 0px; /*高宽分别对应横竖滚动条的尺寸*/
  height: 1px;
}
::-webkit-scrollbar-thumb {
  /*滚动条里面小方块*/
  border-radius: 10px;
  box-shadow: inset 0 0 5px rgba(97, 184, 179, 0.1);
  background: #010a34;
}
::-webkit-scrollbar-track {
  /*滚动条里面轨道*/
  box-shadow: inset 0 0 5px rgba(87, 175, 187, 0.1);
  border-radius: 10px;
  background: #010a34;
}
.el-pagination--small .el-pager li,
.el-pagination--small .el-pager li:last-child {
  font-size: 0.7vw;
}
.el-pagination.is-background.el-pagination--small .btn-next,
.el-pagination.is-background.el-pagination--small .btn-prev,
.el-pagination.is-background.el-pagination--small .el-pager li {
  min-width: 1.5vw;
}
.el-pagination--small .btn-next,
.el-pagination--small .btn-prev,
.el-pagination--small .el-pager li,
.el-pagination--small .el-pager li.btn-quicknext,
.el-pagination--small .el-pager li.btn-quickprev,
.el-pagination--small .el-pager li:last-child {
  line-height: 3vh;
  height: 3vh;
}
.el-pagination.is-background .el-pager li:not(.disabled).active {
  background: #010a34;
}
.el-pagination .btn-next .el-icon,
.el-pagination .btn-prev .el-icon {
  font-size: 0.8vw;
}
.el-pagination.is-background .btn-next,
.el-pagination.is-background .btn-prev,
.el-pagination.is-background .el-pager li {
  background-color: #eb9a8d;
  color: #77350f;
}
.zan {
  text-align: center;
  color: white;
  padding: 30px 0;
}
.animated {
  animation-duration: 1s; /*动画时间*/
  animation-fill-mode: both; /*播放后的状态*/
}

.animated {
  animation-iteration-count: infinite; /*动作循环的次数：infinite 无限循环*/
}

.animated {
  animation-duration: 2s; /*动画时间*/
}
.hush {
  animation: shake 2s infinite;
}
.delay {
  animation-delay: 0.5s;
}
.delay2 {
  animation-delay: 0.8s;
}
.delay3 {
  animation-delay: 1.2s;
}
.delay4 {
  animation-delay: 0.3s;
}
.delay5 {
  animation-delay: 1.5s;
}
@keyframes shake {
  0%,
  100% {
    transform: translateY(0); /* 初始和结束位置，不移动 */
  }
  50% {
    transform: translateY(-10px); /* 中间位置，向上移动10px */
  }
}
.animat {
  position: relative;
  animation: mymove 5s infinite;
  -webkit-animation: mymove 5s infinite; /*Safari and Chrome*/
  animation-direction: alternate; /*轮流反向播放动画。*/
  animation-timing-function: ease-in-out; /*动画的速度曲线*/
  /* Safari 和 Chrome */
  -webkit-animation: mymove 5s infinite;
  -webkit-animation-direction: alternate; /*轮流反向播放动画。*/
  -webkit-animation-timing-function: ease-in-out; /*动画的速度曲线*/
}
@keyframes mymove {
  0% {
    transform: scale(1); /*开始为原始大小*/
  }
  25% {
    transform: scale(1.05); /*放大1.1倍*/
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.05);
  }
}

@-webkit-keyframes mymove /*Safari and Chrome*/ {
  0% {
    transform: scale(1); /*开始为原始大小*/
  }
  25% {
    transform: scale(1.1); /*放大1.1倍*/
  }
  50% {
    transform: scale(1);
  }
  75% {
    transform: scale(1.1);
  }
}
</style>
